package com.shuziren.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shuziren.abnormal.CustomException;
import com.shuziren.pojo.dto.InterviewRecordDto;
import com.shuziren.pojo.entity.InterviewRecord;
import com.shuziren.pojo.vo.InterviewRecordVo;
import org.springframework.stereotype.Service;

@Service
public interface InterviewRecordService extends IService<InterviewRecord> {
    InterviewRecordVo getInterviewRecordById(Integer id) throws CustomException;
    boolean saveInterviewRecord(InterviewRecord record) throws CustomException;
    boolean updateInterviewRecord(InterviewRecord record) throws CustomException;

    boolean deleteInterviewRecord(Integer id) throws CustomException;

    IPage<InterviewRecordVo> getAllInterviewRecordsPage(InterviewRecordDto queryVo);
}
